package com.suning.sawp.dto.precharge;

import java.io.Serializable;
import java.util.List;

import com.thoughtworks.xstream.annotations.XStreamAlias;

@XStreamAlias("MbfBody")
public class PosActReturnBeanOld implements Serializable{


    /**
     */
    private static final long serialVersionUID = -4362683567005156199L;
    /**
     * 推送状态标识（0新增；1删除）
     */
    @XStreamAlias("flag")
    private String flag;
    /**
     * 门店代码
     */
    @XStreamAlias("storeCode")
    private String storeCode;
    /**
     * 规则码
     */
    @XStreamAlias("ruleCode")
    private String ruleCode;
    /**
     * 规则类型
     */
    @XStreamAlias("ruleType")
    private String ruleType;

    /**
     * 有效天数
     */
    @XStreamAlias("effectiveDays")
    private String effectiveDays;
    /**
     * 最大返劵次数
     */
    @XStreamAlias("maximumReturn")
    private String maxReturn;
    /**
     * 券生效日期
     */
    @XStreamAlias("effectiveDate")
    private String effectiveDate;
    /**
     * 活动截止日期
     */
    @XStreamAlias("promoDeadline")
    private int promoDeadline;
    /**
     * 规则list
     */
    @XStreamAlias("offlineRules")
    private List<PosRulesReturnBean> rulesList;

    @XStreamAlias("serviceregulations")
    private String serviceregulations;
    
    @XStreamAlias("scope")
    private String scope;
    
    public String getFlag() {
        return flag;
    }

    public void setFlag(String flag) {
        this.flag = flag;
    }

    public String getStoreCode() {
        return storeCode;
    }

    public void setStoreCode(String storeCode) {
        this.storeCode = storeCode;
    }

    public String getRuleCode() {
        return ruleCode;
    }

    public void setRuleCode(String ruleCode) {
        this.ruleCode = ruleCode;
    }

    public String getRuleType() {
        return ruleType;
    }

    public void setRuleType(String ruleType) {
        this.ruleType = ruleType;
    }

    public String getEffectiveDays() {
        return effectiveDays;
    }

    public void setEffectiveDays(String effectiveDays) {
        this.effectiveDays = effectiveDays;
    }

    public String getMaxReturn() {
        return maxReturn;
    }

    public void setMaxReturn(String maxReturn) {
        this.maxReturn = maxReturn;
    }

    public String getEffectiveDate() {
        return effectiveDate;
    }

    public void setEffectiveDate(String effectiveDate) {
        this.effectiveDate = effectiveDate;
    }

    public int getPromoDeadline() {
        return promoDeadline;
    }

    public void setPromoDeadline(int promoDeadline) {
        this.promoDeadline = promoDeadline;
    }

    public List<PosRulesReturnBean> getRulesList() {
        return rulesList;
    }

    public void setRulesList(List<PosRulesReturnBean> rulesList) {
        this.rulesList = rulesList;
    }

    public String getServiceregulations() {
        return serviceregulations;
    }

    public void setServiceregulations(String serviceregulations) {
        this.serviceregulations = serviceregulations;
    }

    public String getScope() {
        return scope;
    }

    public void setScope(String scope) {
        this.scope = scope;
    }

    @Override
    public String toString() {
        return "PosActReturnBean [flag=" + flag + ", storeCode=" + storeCode + ", ruleCode="
                + ruleCode + ", ruleType=" + ruleType + ", effectiveDays=" + effectiveDays
                + ", maxReturn=" + maxReturn + ", effectiveDate=" + effectiveDate
                + ", promoDeadline=" + promoDeadline + ", rulesList=" + rulesList
                + ", serviceregulations=" + serviceregulations + ", scope=" + scope + "]";
    }

}
